home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
TOOLS4C.LZH
/
TOOLS4C.H
< prev
next >
Wrap
Text File
|
1987-08-15
|
3KB
|
101 lines
typedef struct WNDW {
int left_col_line_char;
int upper_row_line_char;
int right_col_line_char;
int lower_row_line_char;
int ulcorner_char;
int urcorner_char;
int llcorner_char;
int lrcorner_char;
int fill_char;
int line_attr;
int fill_attr;
int left_col;
int upper_row;
int right_col;
int lower_row;
int curr_row;
int curr_col;
int buf_size;
struct WNDW *prev_wndw;
struct WNDW *next_wndw;
char *image;
} WNDW ;
/*************************** FUNCTION PROTOTYPES *************************/
extern void draw_box(int,int,int,int,WNDW *,int,int);
extern void draw_ex_box(int,int,int,int,WNDW *,int,int, unsigned int);
extern void fill_box(int,int,int,int,int,int);
extern void fill_area(int,int,int,int,int,int);
extern int open_window(WNDW *);
extern int open_ex_window(WNDW *,int);
extern void fill_window(WNDW *);
extern void clear_window(void);
extern void close_window(WNDW *);
extern void move_window(WNDW *, int, int);
extern int create_window(WNDW *);
extern void shuffle_image(WNDW *, char *);
extern void activate(WNDW *);
extern void cursor_window(int,int);
extern void scroll_window(int, int);
extern void wprint_string(char *);
extern void wprint_string_att(char *,int);
extern void right_just_str(char *,char *,int);
extern void center_str(char *,char *,int);
extern void left_just_str(char *,char *,int);
extern void insert_str(char *,char *,char *,int);
extern void title_window(WNDW *,char *,int,int);
extern void clear_wndw_title(WNDW *,int);
extern int wprintf(char *, );
extern int fprint_window(WNDW *,char *,);
extern int aprintf(int,char *, );
extern void print_string(char *,int);
extern void write_str(int,int,char *,int);
extern void delete_leading(char *);
extern void delete_lead_wht(char *);
extern void delete_trailing(char *);
extern void delete_trl_wht(char *);
extern void v_line(int, int, int, int, int);
extern void h_line(int, int, int, int, int);
extern void vert_line(int, int, int);
extern void write_al(int,int,int,int);
extern void write_am(int, int, int);
extern void write_a(int,int);
extern void write_tty(int);
extern void write_ac(char,int);
extern void cls(void);
extern void normal_cursor(void);
extern void block_cursor(void);
extern void cursor(int,int);
extern void curs(int);
extern void cursor_type(int);
extern void get_cursor(int *, int *);
extern int get_curs(void);
extern int key(void);
extern int shift_stat(void);
extern int char_waiting(void);
extern void vid_type(void);
extern void video_on(void);
extern void video_off(void);
extern void set_vid_mode(int);
extern int get_vid_mode(void);
extern void save_scn(int,int,int,int,char *);
extern void rest_scn(int,int,int,int,char *);
extern void scroll(int,int,int,int,int,int,int);
extern int change_att(int,int,int,int);
extern int get_field(char *,int,int,int,int);
extern int edit_field(char *,int,int,int);
extern update_ins_flag();
#define BELL putchar(7)
#define TRUE 1
#define FALSE 0
#define OK 0
#define ERROR -1